<?php
namespace app\common\model;
use app\common\model\CommonModel;
use think\Db;

class Shop extends CommonModel
{
	/**
	* 获取某个字段值
	*/
	public function shopField($where,$field)
	{
		return $this->where($where)->value($field);
	}
}
